package com.apesource.project02.service;

import com.apesource.project02.pojo.Message;
import com.apesource.project02.util.ResponseEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @auther:暮雪
 * @date:2025/9/18
 */


public interface IMessageService extends IService<Message> {

    ResponseEntity<List<Message>> getAllMessages(int userId);

    ResponseEntity<List<Message>> getMessageByKeyWord(String keyword);
}
